<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <style>
* {margin:0;padding:0;}
.keyword_popup{
    overflow:hidden;
    position:absolute;
}
.keyword_popup2 {
    width:208px;
    height:175px;
    overflow:hidden;
    border: solid 1px #cccccc;
    background-color:#FFF;
	font-family:Verdana, "宋体", sans-serif;
}
.popup_title {
    width:198px;
    height:26px;
    margin-left:3px;
    border-bottom:solid 1px #cccccc;
    overflow:hidden;
    padding-top:6px;
    padding-left:7px;
    clear:both;
    margin-bottom:6px;
}
.pop_left {
    width:96px;
    text-align:center;
    float:left;
    overflow:hidden;
}
.pop_left img {
	margin:auto;
    padding:0;
    border:none;
}
.pop_right {
    float:left;
    overflow:hidden;
    width:110px;
    font-size:12px;
    line-height:16px;
}
.pop_right_title {
    font-size:16px;
    font-weight:bold;
    max-height: 53px;
    line-height: 18px;
    overflow: hidden;
}
.pop_right_desc {
    max-height: 47px;
    overflow: hidden;
}
.pop_right p {
    margin:0 0 5px 0;
}
.popbuy_button {
    width:76px;
    height:22px;
    overflow:hidden;
    background-color:#fff31a;
    line-height:22px;
    text-align:center;
    display:block;
    text-decoration:none;
    color:#000;
    font-weight:bold;
}
.popup_txt {
    text-align:right;
    background-color:#c9c9c9;
    color:#FFF;
    height:24px;
    line-height:24px;
    font-size:12px;
    text-decoration:none;
    padding-right: 10px;
}
.popup_img2{
    width:210px;
    height:175px;
    overflow:hidden;
    background-color:#fff;
}
        </style>
        <script src="jquery.min.js"></script>
        <script>
            String.prototype.getPara = function (p) {
                return decodeURIComponent(this.match((new RegExp('[?&]'+p+'=([^&]+)')))[1]||"");
            }
            $(document).ready(function(){
                //$('.close').click(function(){window.parent.close_iframe();return false;});
                if ($.browser.msie) {
                    if (parseInt($('.pop_right_title').css('height'))>53) $('.pop_right_title').css('height','53px');
                    if (parseInt($('.pop_right_desc').css('height'))>47) $('.pop_right_desc').css('height','47px');
                }
                $(document).click(function(e){
                    var target = e.target || e.srcElement;
                    var href = $(target).parents('a').attr('href');
                    $.post('log.php', {"type":"click", "kw":location.href.getPara('kw'), "pos1":location.href.getPara('pos1'), "pos2":location.href.getPara('pos2'), "adid":location.href.getPara('adid'), "adurl":location.href.getPara('adurl'), "ourl":href});
                });
            });
        </script>
    </head>
    <body>
        <div class="keyword_popup keyword_popup2" name="tastesDesc">
            <script>
                var adurl = location.href.getPara('adurl');
                var _myeval = eval;//backup eval
                var evalflg = false;
                eval = function (jscode) {//override eval, add hook code
                    _myeval(jscode);
                    eval=_myeval;//restore eval
                    evalflg = true;//hook code
                };
                setTimeout(function(){
                    $.post('log.php', {"type":"impression", "kw":location.href.getPara('kw'), "pos1":location.href.getPara('pos1'), "pos2":location.href.getPara('pos2'), "adid":location.href.getPara('adid'), "adurl": adurl, "code": (evalflg ? "success" : "fail")});
                }, 1000);
                document.write('<scr'+'ipt src="'+adurl+'"></scr'+'ipt>');
            </script>
        </div>
    </body>
</html>
